package com.wangzefeng.shop.security.vo;

import lombok.AllArgsConstructor;
import org.springframework.security.core.GrantedAuthority;

/**
 * @Auther: wangzefeng
 * @Date: 2021/3/18 15:35
 * @Description:
 */
@AllArgsConstructor
public class GrantedAuthorityImpl implements GrantedAuthority {

    private String authority;

    @Override
    public String getAuthority() {
        return this.authority;
    }
}
